package com.example.backend.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.backend.common.Result;
import com.example.backend.pojo.Book;

public interface BookService extends IService<Book> {
    Result getBookList();
    Result borrowBook(String uid,String bid);
    Result returnBook(String bid);
    Result searchByBook(String name);
    Result submitNewBook(String name, String author,int total_copies);
}
